{template admin/header}

	<form action="manage.php?m=credit_list" method="post" name="search">
	<table cellspacing="1" cellpadding="4" width="100%" align="center" class="tableborder">
		<tr class="header">
			<td colspan="2">搜索商家</td>
		</tr>
		<tr>
			<td class="altbg1" width="150">
			商家名称:
			</td>
			<td class="altbg2">
			<input name="name" type="text" id="name" value="{$name}" size="40">		
			</td>
		</tr>
		<tr>
			<td class="altbg1" width="150">&nbsp;
			</td>
			<td class="altbg2">
				<button name="do" value='' type="submit" class="button">搜索一下</button>&nbsp;&nbsp;
				<button class="button" type="button" onclick="window.location.href='manage.php?m=credit_list';return false;">全部商家</button>
			</td>
		</tr>
		
	</table>
	</form>

	  <table width="500" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td width="120" height="30" align="right">内容筛选查看：</td>
          <td width="80" align="right"><a href="manage.php?m=credit_list&type=business">餐饮</a></td>
          <td width="80" align="right"><a href="manage.php?m=credit_list&type=hostel">酒店</a></td>
          <td width="80" align="right"><a href="manage.php?m=credit_list&type=scenic">景区</a></td>
          <td width="80" align="right"><a href="manage.php?m=credit_list&type=shop">免税店</a></td>
          <td width="80" align="right"><a href="manage.php?m=credit_list&is_auth=true">已加诚信标志</a></td>
        </tr>
      </table>
		<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableborder">
			<tr class="header">
				<td width="10%">
					诚信标志
				</td>	
				<td width="65%">名称</td>
				<td width="10%">logo</td>
				<td width="15%">
					<!-- {if $is_auth === ''} -->
					<a href="manage.php?m=credit_list&type={$type}&order={$order}" title="{$order_name}排列">客户评分(点击排序)</a>
					<!-- {else} -->
					客户评分
					<!-- {/if} -->
				</td>
			</tr>
			<!--{loop $list $item}-->
			<tr align="center">
				<td class="altbg1" style="border-bottom:1px dashed #ccc">
					<!-- {if $item[is_auth]} -->
					<a href="manage.php?m=credit_list&a=set_auth&id={$item[id]}" style="color:red;">删除</a>
					<!-- {else} -->
					<a href="manage.php?m=credit_list&a=set_auth&id={$item[id]}&status=add">添加</a>
					<!-- {/if} -->
				</td>
				<td class="altbg2" style="border-bottom:1px dashed #ccc">
					<a href="manage.php?m={$type}&a=modify&id={$item[id]}">{$item[name]}</a>
				</td>
				<td class="altbg1" style="border-bottom:1px dashed #ccc">
					<!-- {if $item[image]} -->
					<a href="{$item[image]}" target="_blank"><img width="50" height="50" src="{$item[image]}"></a>
					<!-- {/if} -->
				</td>
				<td class="altbg2" style="border-bottom:1px dashed #ccc">
					{$item[customer_score]}
				</td>
			</tr>
			<!--{/loop}-->
			
			<!--{if $page_html}-->
			<tr align="center">
				<td colspan="4" class="altbg1">
					{$page_html}
				</td>
			</tr>
			<!--{/if}-->
		</table>
	
	<br />

<script type="text/javascript" src="templates/default/js/travel_info.js"></script>